package com.dhsc.domain.yypt;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @ClassName:  ResponseObject
 * @Description: 返回的数据，封装成一个实体
 * @date:   2023年5月25日 下午7:17:25       
 * @author: clong
 * @Copyright:  东海运营
 */
@Data
public class ResponseObject implements Serializable
{
	private static final long serialVersionUID = 1905122041950251207L;
	
	@JsonInclude(Include.NON_NULL)
	//http状态码
	private int status;//200：正常    400：逻辑异常    20几：业务异常
	
	@JsonInclude(Include.NON_NULL)
	//需要返回的说明和信息
	private String message;
	
	@JsonInclude(Include.NON_NULL)
	//返回的具体数据
	private Object data;
	
	@JsonInclude(Include.NON_NULL)
	//总条数
	private Long total;
	
	@JsonInclude(Include.NON_NULL)
	//总页数
	private Integer pages;

	private String key;
	
	private String rects;

	private Object obj1;
	
	private List<Object> obj2;

	private  List<Map<String, Object>> obj3;
	
	//返回的具体数据
	private String nowdate;//系统时间

}
